package com.sifour.entity;

import com.sifour.behavior.AbleSwim;
import com.sifour.behavior.UnableFly;

public class Penguin extends Bird {

    public Penguin() {
        flyBehavior = new UnableFly();
        swimBehavior = new AbleSwim();
    }

    @Override
    public void display() {
        super.display();
        System.out.println("我是一企鹅企鹅");
    }
}
